how to know the class of all columns in a data.frame in R